package com.jiantong.news.service;

import com.jiantong.news.model.Quotes;
import io.terminus.common.model.Response;

import java.util.List;

/**
 * 行情报价
 * Created by mz03 on 2017/3/16.
 * zyp
 */
public interface QuotesWriteService {

    /**
     * 添加一条行情报价
     * @param quotes 单据对象
     * @return 主键 id
     */
    Response<Long> create(Quotes quotes);


    Response<Integer> createQuotes(List<Quotes> quotesList);
}
